package cn.klaw.consts;

import cn.klaw.util.CacheKeyUtil;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;

public class RedisConst {

    public RedisConst(RedisProperties redisProperties) {
        REDIS_EVENT_KEY = "__keyevent@" + redisProperties.getDatabase() + "__:";
    }

    public static String REDIS_EVENT_KEY;

    public static String REDIS_LOCK4J_PREFIX = CacheKeyUtil.LOCK;


}
